package stock.commons;

import stock.beans.Product;

public class ProductBuilder {
	private ProductBuilder() {

	}

	public static Product buildProduct(ProductParsedData data) {
		Product ret = new Product();
		ret.setId(data.getId());
		ret.setDescripcion(data.getDescripcion());
		ret.setCantidad(data.getCantidad());
		return ret;
	}
}
